import axios from 'axios'

const service = axios.create({
  baseURL: 'https://admin-gw.test.jxwxxkj.com/tms-admin/api',
  timeout: 5000
})

service.interceptors.request.use(config => {
  config.headers.Token = 'login_sysuser158kvqmi190pbthigurza9dsb62ty3kmud8'
  return config
})

service.interceptors.response.use(response => {
  return response.data
})

export default service